#ifndef ORDENA_H
#define ORDENA_H

#include <string>

#include "pilha.hpp"
#include "lista.hpp"

class stackOrdenate
{
public:
	stackOrdenate();

	~stackOrdenate();

	void
	addNumber(int);

	void
	addStack(pilha<int>);

	void
	order();

	std::string
	getOrdered();
	
protected:

	void
	setPlace(int&);

private:

	pilha<int>*
	toOrder;

	lista<int>*
	ordered;
};

#endif /* ORDENA_H */
